<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8"/>
    <style>
        *{
            margin: 0px;
            padding: 0px;
        }
        body{
            font-family: SimSun;
        }
        #da{
            width: 1000px;
            margin: auto;
            /* height: 100vh; */
            border: 1px black;
        }
        .table-bordered {
            border-collapse: collapse; border-spacing: 0;

        }
        .table-bordered tbody tr td{
            margin-top: 1%;
            height: 40px;
            width: 125px;
            line-height: 40px;
        }
        .table-bordered tbody{
            width: 100%;
        }
        .spanchex{
            margin-left: 2%;
        }
        @page {

            size: 12in 20in;

        }
    </style>
</head>
<body>
<div id="da">
    <div style="height: 50px;max-width: 1000px; border: 1px solid black;position: relative;margin-top: 20px;" >
        <h2  style="text-align: center;width: 1000px; position:absolute;top: 0px;">订单评审表</h2>
        <h2  style="width: 1000px;"></h2>
        <img src="images/logo.png" style="position: absolute; top: 2%;"/>
        <p style="position: absolute; right: 2%;bottom: 2px;"><b>编号</b>:${review.pino}</p>
    </div>
    <table class="table-bordered" border="1" style="width:100%;">
        <colgroup>
            <col class="td1"></col>
            <col class="td2"></col>
            <col class="td3"></col>
            <col class="td4"></col>
            <col class="td5"></col>
            <col class="td6"></col>
            <col class="td7"></col>
            <col class="td8"></col>
        </colgroup>
        <tbody>
        <tr style="margin-top: 5%;text-align: center;">
            <td><b>PI NO</b></td>
            <td>${review.pino}</td>
            <td><b>订单号</b></td>
            <td colspan="2">${order.code}</td>
            <td><b>申请人</b></td>
            <td colspan="2"></td>
        </tr>
        <tr>
            <td colspan="8">
                <span class="spanchex"> <input type="checkbox" id="checkbox1"/> <label>大货</label></span>
                <span class="spanchex"> <input type="checkbox" id="checkbox1"/> <label>样机</label></span>
                <span style="margin-left: 100px;">
                        初次评审日期:<#if review.review_date??>${review.review_date}</#if>
                    </span>
                <span style="margin-left: 280px;">
                        变更日期:<#if review.alter_date??>${review.alter_date}</#if>
                    </span>
            </td>
        </tr>
        <tr style="text-align: center;">
            <td colspan="8"><b>订单基本信息</b></td>
        </tr>
        <tr style="text-align: center;">
            <td>序号</td>
            <td>产品料号</td>
            <td>产品型号</td>
            <td>产品颜色</td>
            <td>数量</td>
            <td>客户名称和代码</td>
            <td>销售国家</td>
            <td>样机类别</td>
        </tr>

        <#list Order_Attachment as item>
            <tr style="text-align: center;">
            <td>${item_index+1}</td>
            <td>${item.part_code}</td>
            <td><#if item.type=='P'>配件<#else>备件</#if></td>
            <td>
            </td>
            <td>${item.quantity}</td>
            <td>${order.firm_name} ${order.user_account}</td>
<#--            <td><#if item.language=='CN' >中国<#else>海外</#if></td>-->
                    <td> <#if review.country??>${review.country}</#if> </td>
            <td></td>
        </tr>
        </#list>

        <tr style="text-align: center;">
            <td colspan="8"><b>订单具体要求</b></td>
        </tr>
        <tr style="text-align: center;">
            <td>电压/频率</td>
            <td colspan="2"></td>
            <td>铭牌</td>
            <td></td>
            <td>说明书</td>
            <td colspan="2"></td>
        </tr>
        <tr style="text-align: center;">
            <td>语言</td>
            <td colspan="2"></td>
            <td>面板装饰板</td>
            <td></td>
            <td>纸箱</td>
            <td colspan="2"></td>
        </tr>
        <tr style="text-align: center;">
            <td>电源线类型</td>
            <td colspan="2"></td>
            <td>LOGO装饰盖</td>
            <td></td>
            <td>备件</td>
            <td colspan="2"></td>
        </tr>
        <tr style="text-align: center;">
            <td>转换插</td>
            <td colspan="2"></td>
            <td>安全标准</td>
            <td></td>
            <td>测试报告</td>
            <td colspan="2"></td>
        </tr>
        <tr style="position: relative;">
            <td colspan="8" style="height: 200px;"><span style="position: absolute;top: 2px;">特殊要求:<#if review.demand??>${review.demand}</#if></span> </td>
        </tr>
        <tr style="text-align: center;">
            <td colspan="8"><b>装箱方案</b></td>
        </tr>
        <tr style="text-align: center;">
            <td>成交方式</td>
            <td colspan="3"></td>
            <td>出货方式</td>
            <td colspan="3"> <#if review.shipping??>${review.shipping}</#if></td>
        </tr>
        <tr style="text-align: center;">
            <td>客检日期</td>
            <td colspan="3"></td>
            <td>完成日期</td>
            <td colspan="3"></td>
        </tr>
        <tr style="text-align: center;">
            <td>运输方式</td>
            <td colspan="3"> <#if review.transport??>${review.transport}</#if> </td>
            <td>唛头</td>
            <td colspan="3"> <#if review.shippingmark??>${review.shippingmark}</#if></td>
        </tr>
        <tr style="position: relative;">
            <td colspan="8" style="height: 150px;"><span style="position: absolute;top: 2px;">备注:<#if review.remark??>${review.remark}</#if></span> </td>
        </tr>
        <tr style="text-align: center;">
            <td colspan="8"><b>签字栏</b></td>
        </tr>
        <tr style="text-align: center;">
            <td>海外销售</td>
            <td></td>
            <td>海外经理</td>
            <td></td>
            <td>供应链</td>
            <td></td>
            <td>财务部</td>
            <td></td>
        </tr>
        <tr style="text-align: center;">
            <td>质量部</td>
            <td></td>
            <td>工程部</td>
            <td></td>
            <td>研发\售后</td>
            <td></td>
            <td>核准</td>
            <td></td>
        </tr>
        </tbody>
    </table>
</div>
</body>
</html>
